#pragma once
#include <Timer.hpp>
#include <list>
#include <Static.hpp>
#include <so_math.h>
class SpaceScene;
class GameMessage
{
    friend SpaceScene;
private:
    std::list<char*> msgs[12];
    SDL_Rect msg_rect;
public:
    GameMessage(/* args */) = default;
    ~GameMessage();

    void showMessage(const char* msg,int playerID = -1);
    void render(SDL_Renderer * renderer);
    int update(real delta);
};